package com.bdqn.wang.service.impl;

import com.bdqn.wang.dao.NewsDao;
import com.bdqn.wang.dao.impl.NewsDaoImpl;
import com.bdqn.wang.pojo.News;
import com.bdqn.wang.service.NewsService;
import com.bdqn.wang.util.Page;

import java.util.List;

public class NewsServiceImpl implements NewsService {
    NewsDao newsDao = new NewsDaoImpl();
    @Override
    public List<News> getAll() {
        return newsDao.getAll();
    }



}
